package com.yayo.mangement.authentication.enums;

import lombok.Getter;

public enum RoleEnum {
    SYS_ADMIN("SYS_ADMIN","超级管理员"),
    ADMIN("ADMIN","管理员"),
    USER("USER","用户");

    @Getter
    private String code;
    @Getter
    private String desc;

    RoleEnum(String code, String desc){
        this.code = code;
        this.desc = desc;
    }
}
